package dao

import (
	"xr-game-server/dao/accountdao"
	"xr-game-server/dao/bagdao"
	"xr-game-server/dao/guilddao" // 添加公会DAO模块
	"xr-game-server/dao/itemlogdao"
	"xr-game-server/dao/maildao"
	"xr-game-server/dao/namedao"
	"xr-game-server/dao/resdao"
	"xr-game-server/dao/roledao"
	"xr-game-server/dao/serverdao"
	"xr-game-server/dao/taskdao"
	"xr-game-server/dao/zonedao"
)

func Init() {
	serverdao.InitServer()
	accountdao.InitAccountDao()
	roledao.InitRoleDao()
	resdao.InitResDao()
	bagdao.InitBagDao()
	itemlogdao.InitItemLogDao()
	taskdao.InitTask()
	namedao.InitName()
	zonedao.InitZones()
	guilddao.Init() // 初始化公会DAO模块
	maildao.Init()
}
